package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.Order;
import com.trace.app.entity.ResponseResult;


/**
 * (Order)表服务接口
 *
 * @author lionkliu
 * @since 2024-04-22 18:18:44
 */
public interface OrderService extends IService<Order> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Order order);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Order order);

    ResponseResult getOrderByUserId(Integer userId);

}

